import { FriendListResult, LabelListResult } from "@/api/contact/types"
import { KnowledgeBaseFileShareListData } from "@/api/knowledgeBase/types"

/** 选择好友 */
export type SelectFriends = {
  selected: number[]
  success: (selected: FriendListResult[]) => void
}

/** 选择标签 */
export type SelectTags = {
  selected: number[]
  success: (selected: LabelListResult[]) => void
}

/** 标签成员 */
export type TagMembers = {
  id: number
  tagName: string
}

/** 邀请添加好友 */
export type InviteFriends = {
  uuid: string
}

/** 好友申请详情 */
export type FriendApplyDetail = {
  id: number
  success: () => void
}

/** 圈子申请详情 */
export type CircleApplyDetail = {
  id: number
  success: () => void
}

/** 好友设置 */
export type FriendSetting = {
  id: number
  success: () => void
}

/** 好友共享文件 */
export type FriendSharedFiles = {
  type: KnowledgeBaseFileShareListData['type']
  id: number
}

